package org.android.brasil.projetos.spacehero.andengine;

import org.anddev.andengine.engine.Engine;
import org.anddev.andengine.entity.scene.Scene;
import org.anddev.andengine.ui.activity.BaseGameActivity;

public class AndEngineGameActivity extends BaseGameActivity {
	
	private AndEngineGameController mGameController;
	
	public AndEngineGameActivity(){
		
		this.mGameController = new AndEngineGameController();
	}

	@Override
	public Engine onLoadEngine() {

		return this.mGameController.LoadEngine();
	}

	@Override
	public void onLoadResources() {

		this.mGameController.LoadResource();
	}

	@Override
	public Scene onLoadScene() {
		// TODO Auto-generated method stub
		return this.mGameController.LoadScene();
	}

	@Override
	public void onLoadComplete() {
		
		this.mGameController.LoadComplete();
		this.mGameController.initialize();
	}
}
